﻿using CPPEI.Coolzon.Common;
using CPPEI.Coolzon.Service.Contract;
using CPPEI.Coolzon.ServiceProxy.MainServiceRef;
using CPPEI.Coolzon.UI.Event;
using CPPEI.Coolzon.UI.Views.EventProxies;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CPPEI.Coolzon.UI
{
    public partial class RemoteEventProxy
    {
        /// <summary>
        /// 删除数据缓存文件
        /// </summary>
        /// <param name="event"></param>
        [Subscribe]
        public void OnReceiveCoreDeleteDataCacheFileEvent(CPPEI.Coolzon.Event.Core.CoreDeleteDataCacheFileEvent @event)
        {
            CPPEI.Coolzon.DataTask.DataResultCache.DeleteAll();
        }
    }
}
